package cn.dsscm.dao;

import cn.dsscm.pojo.Food;
import cn.dsscm.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface FoodMapper {

    @Select("select * from t_foods")
    public List<Food> findAll();


    @Select("select * from t_foods where id=#{id}")
    public Food findById(int id);
}
